package com.hboxs.asl;

import com.hboxs.asl.util.SettingUtils;

import java.math.BigDecimal;

/**
 * Created by xxx on 2016
 */
public class Constant {

    static Setting setting = SettingUtils.get();

    // 1元=1积分
    public static final BigDecimal POINT_SCALE = new BigDecimal(1);

    // 商家推荐码底数
    public static final Long MERCHANT_CODE_BASE = 45l;

    // 商家推荐码开头
    public static final String MERCHANT_CODE_BEGIN = "8";

    // 主播推荐码底数
    public static final Long MEMBER_CODE_BASE = 58l;

    // 主播推荐码开头
    public static final String MEMBER_CODE_BEGIN = "0";

    // app logo路径
    public static final String APP_LOGO = setting.getSiteUrl() + "/resources/asl/images/app_logo.png";

    // 自营
    public static final String ADMIN_MERCHANT_NAME = "自营";

    // 银行卡icon
    public static final String BANK_ICON_PATH = setting.getSiteUrl() + "/resources/asl/bank";

    // 微信首页轮播广告位
    public static final String WECHAT_AD_POSITION_BANNER = "易问易答 - 广告图";

    // 微信首页中间广告位
    public static final String WECHAT_AD_POSITION_MIDDLE = "首页 - 广告图";

    // 直播列表显示直播数量
    public static final Integer LIVE_LIST_COUNT = 100;

    //TODO 用户标签分隔符
    public static final String SPILT = "!!";

    //TODO 用户ID
    public static final Long USER_ID = 10000l;

    //TODO 文章webview路径
    public static final String ESSAY_URL = "/app/teacher/caseWeb.htm?id=";

    //TODO 上传语音类型
    public static final String MEDIA_TYPE = "amr";

    //TODO 用户评价分数阶级
    public static final float[] score = {0, 0.5f, 1, 1.5f, 2, 2.5f, 3, 3.5f, 4, 4.5f, 5};

    //TODO 提问问题消息通知
    public static final String QUESTION_NOTICE = "向您提问问题，请您及时回答";

    //TODO 回答问题消息通知
    public static final String ANSWER_NOTICE = "老师解答了您的问题";

    //TODO 个推跳转 0 表示回答
    public static final String GETUI_ANSWER = "0";

    //TODO 个推跳转 1 表示提问
    public static final String GETUI_QUESTION = "1";

    //TODO 个推跳转 2 表示课程
    public static final String GETUI_COURSE = "2";

    //TODO 私信
    public static final String LETTER_CONTENT = "给您发送私信，请查看。";

    //TODO 积分支付标记
    public static final String POINT_PAY = "积分支付";

    // 关联下载app重定向链接
    public static final String DOWNLOAD_APP = "http://appurl.me/16142871";
}
